<?php

namespace App\Datalog\Events;

use App\Models\Firstups;

class FirstupEventLog extends EventLog
{
    // 日志名称
    protected $name = 'firstup';

    protected $eventId = 1001;

    public function addLog(Firstups $firstup)
    {
        $params = $firstup->toArray();
        $this->addEventLog(0, $params['create_time'], $params);
    }
}
